package com.dronff.gvm.interfaces;

/**
 * @author: tyf
 * @date: 2022/9/10 16:32
 * @description: todo(可与Memory做相互转换的数据
 */
public interface Memorize<T> {
    void write(Writable writable) throws IndexOutOfBoundsException;
    T read(Readable writable) throws IndexOutOfBoundsException;
}